
by TinTin aka Gerry Shaw:
(modified by Mafi, Jan. 2006)

ZFX File Format

The .zfx file contain a bunch of other files concatenated into a single file. This is done to decrease seek times when reading files from disk or CD.

Basic Format:

*	Intel style byte ordering 
*	File Count (4 byte int) 
*	Directory (13 byte strings, 0 padded 8.3 format  always at least one terminating null character, always starts at offset 4, 0 padded to a fixed size of 600 strings - 7800 bytes) 
*	File Offsets (always starts at 7804, 600x 4 byte ints) 
*	File Size table (always starts at 10204, 600x 4 byte ints) (TinTin called it "manifest")
*	Files (always start at 12604, offsets are from start of file) 

Example of Guns.zfx offset table 

12604
13648
14692
18660

 